.TH std::generator::promise_type::get_return_object 3 "2024.06.10" "http://cppreference.com" "C++ Standard Libary"
.SH NAME
std::generator::promise_type::get_return_object \- std::generator::promise_type::get_return_object

.SH Synopsis
   std::generator get_return_object() noexcept;  (since C++23)

   Returns a generator object whose member coroutine_ is obtained via the expression
   std::coroutine_handle<promise_type>::from_promise(*this), and whose member active_
   points to an empty stack.

.SH Parameters

   \fI(none)\fP

.SH Return value

   The generator object.
